package com.hbnu.test.www.Exception_Test.TryTry02;

public class Solution extends Calculators{
    public String division(int a, int b) {
        // -- write your code here --
        //不写捕获
        if(b != 0){
            super.getCheck();
            return "Calculated results are normal.";
        }
        else{
            super.calc(a,b);
            return "The divisor cannot be 0.";
    }
    }
}